<div class="modal-header">
	<h4 class="modal-title">上传购物卡发放</h4>
</div>
<div class="modal-body container-fluid form-horizontal">
	<iframe name="iframe_0" style="position:absolute;top:-9999px">
	</iframe>
	<form name="form" novalidate method="post" enctype="multipart/form-data" target="iframe_0" action="../clientCard/uploadCard" >
		<div class="form-group">
			<label class="col-xs-3 control-label required">发放渠道：</label>
			<div class="col-xs-8">
				<input type="hidden" value="{{item.channel}}" name="channel" >
				<select class="form-control" ng-model="item.channel" name="channel" required
						ng-options="o.id as o.val for o in $root.channel">
					<option value="">--请选择--</option></select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-3 control-label required">卡券类型：</label>
			<div class="col-xs-8">
				<input type="hidden" value="{{item.cardType}}" name="cardType" >
				<select class="form-control" ng-model="item.cardType"   required
						ng-options="o.id as o.val for o in $root.cardType">
					<option value="">--请选择--</option></select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-3 control-label required">excel文件：</label>
			<div class="col-xs-8 mt7">
				<input type="file" name="file" id="xmlInput" accept="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" required>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" ng-click="save(form)">确定</button>
	<button class="btn btn-warning" ng-click="$dismiss()">取消</button>
</div>
